package com.ruoyi.docdraw.service;

import java.util.List;

import com.ruoyi.docdraw.domain.SysDocMaster;
import com.ruoyi.docdraw.domain.SysDocdrawSupplier;

/**
 * 图纸供应商关联Service接口
 * 
 * @author lvtian
 * @date 2025-04-18
 */
public interface ISysDocdrawSupplierService 
{
    /**
     * 查询图纸供应商关联
     * 
     * @param docId 图纸供应商关联主键
     * @return 图纸供应商关联
     */
    public SysDocdrawSupplier selectSysDocdrawSupplierByDocId(Long docId);

    /**
     * 查询图纸供应商关联列表
     * 
     * @param sysDocdrawSupplier 图纸供应商关联
     * @return 图纸供应商关联集合
     */
    public List<SysDocdrawSupplier> selectSysDocdrawSupplierList(SysDocdrawSupplier sysDocdrawSupplier);

    /**
     * 新增图纸供应商关联
     * 
     * @param sysDocdrawSupplier 图纸供应商关联
     * @return 结果
     */
    public int insertSysDocdrawSupplier(SysDocdrawSupplier sysDocdrawSupplier);

    /**
     * 修改图纸供应商关联
     * 
     * @param sysDocdrawSupplier 图纸供应商关联
     * @return 结果
     */
    public int updateSysDocdrawSupplier(SysDocdrawSupplier sysDocdrawSupplier);

    /**
     * 批量删除图纸供应商关联
     * 
     * @param docIds 需要删除的图纸供应商关联主键集合
     * @return 结果
     */
    public int deleteSysDocdrawSupplierByDocIds(Long[] docIds);

    /**
     * 删除图纸供应商关联信息
     * 
     * @param docId 图纸供应商关联主键
     * @return 结果
     */
    public int deleteSysDocdrawSupplierByDocId(Long docId);

    /**
     * 用户根据部门权限查看图纸管理首页信息
     * @param
     * @return
     */
    public List<SysDocMaster> selectJoinedList(SysDocdrawSupplier docdrawSupplier, String docName, String docNumber);
}
